package com.zhhh.domain;
// Generated 2019-9-26 11:26:41 by Hibernate Tools 3.4.0.CR1

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ${comments}
 *
 * @author 管跃云
 * @email 401946949@qq.com
 * @date 2019-12-20 18:28:25
 */
@Entity
@Table(name = "test")
public class Test implements java.io.Serializable{

	private static final long serialVersionUID = 1L;

		/**
	 * 主键ID
	 */
		@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
		private Integer id;
		/**
	 * 姓名
	 */
		@Column(name = "name")
		private String name;
		/**
	 * 年龄
	 */
		@Column(name = "age")
		private String age;
		/**
	 * 编码
	 */
		@Column(name = "code")
		private String code;
		
	
	
			public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
				public String getname() {
		return this.name;
	}

	public void setname(String name) {
		this.name = name;
	}
				public String getage() {
		return this.age;
	}

	public void setage(String age) {
		this.age = age;
	}
				public String getcode() {
		return this.code;
	}

	public void setcode(String code) {
		this.code = code;
	}
		
	

}
